package com.neuedu.his.common.core;

import com.neuedu.his.common.Page;


import javax.servlet.http.HttpServletRequest;

public interface BaseService<E> {




    public Page queryList(HttpServletRequest request);


    public boolean save(HttpServletRequest req);

    public boolean update(HttpServletRequest req) ;

    public <E> E queryById(HttpServletRequest req);


    /**
     * 根据主键删除
     * @param req
     * @return
     */
    public boolean deleteById(HttpServletRequest req);
}
